diff options
Diffstat (limited to 'ui/routes/(app)/c/[conversation]/+page.svelte')
| -rw-r--r-- | ui/routes/(app)/c/[conversation]/+page.svelte | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/routes/(app)/c/[conversation]/+page.svelte b/ui/routes/(app)/c/[conversation]/+page.svelte index 5a832ee..a487e85 100644 --- a/ui/routes/(app)/c/[conversation]/+page.svelte +++ b/ui/routes/(app)/c/[conversation]/+page.svelte @@ -61,7 +61,9 @@ registration.active.postMessage({ type: 'CONVERSATION_READ', conversationId, - at, + // The service worker's idea of "has been read yet" is more + // constrained, so we just tell it "we read it now, at this moment". + at: new Date(), }); }); } |
